package com.gwz.model;

import java.util.Date;
/**
 * 新闻
 * @author panguixiang
 *
 */
public class NewsModel {

	private Long id;
	private String key;
	private String title;
	private String description;
	private String content;
	private String url;//生成的静态htmlurl
	private String type;//A5,51cto,me
	private int from;//来源1=抓取第三方的内容，0默认为平台自己的
	private Date creatdate;
	private int pointnum=300;//点赞量
	private int conmentsnum=130;//评论量
	private int sharenum=263;//分享量
	private String news_template;//html模板
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getFrom() {
		return from;
	}
	public void setFrom(int from) {
		this.from = from;
	}
	public Date getCreatdate() {
		return creatdate;
	}
	public void setCreatdate(Date creatdate) {
		this.creatdate = creatdate;
	}
	public int getPointnum() {
		return pointnum;
	}
	public void setPointnum(int pointnum) {
		this.pointnum = pointnum;
	}
	public int getConmentsnum() {
		return conmentsnum;
	}
	public void setConmentsnum(int conmentsnum) {
		this.conmentsnum = conmentsnum;
	}
	public int getSharenum() {
		return sharenum;
	}
	public void setSharenum(int sharenum) {
		this.sharenum = sharenum;
	}
	public String getNews_template() {
		return news_template;
	}
	public void setNews_template(String news_template) {
		this.news_template = news_template;
	}
}
